package com.scopionstudio.housemusic;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;

public class SplashActivity extends Activity {
	String TAG="SplashActivity";
	Thread timer;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_splash);
		 timer = new Thread(){
				@Override
				public void run() {
					try {
						sleep(3000);
						Intent intent=new Intent(SplashActivity.this,MainActivity.class);
						startActivity(intent);
						finish();
					} catch (InterruptedException e) {
						e.printStackTrace();
					} 
				}
		 };
		 timer.start();
		
	}
	
		
	}
	

